package com.jianxiu.bean.task;

import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jianxiu.bean.Operations;
import com.jianxiu.utils.DateUtils;


@Alias("reportLog")
public class ReportLog {
    private Long id;
    private Long reportId;
    private Long userId;
    private String username;
    private Operations operation;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer status;
    private String remark;

    private String handerName; //项目处理人姓名
    private String handerMobile; //项目处理人手机

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Operations getOperation() {
        return operation;
    }

    public void setOperation(Operations operation) {
        this.operation = operation;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getHanderName() {
        return handerName;
    }

    public void setHanderName(String handerName) {
        this.handerName = handerName;
    }

    public String getHanderMobile() {
        return handerMobile;
    }

    public void setHanderMobile(String handerMobile) {
        this.handerMobile = handerMobile;
    }

    public String getCreateTimeStr() {
        return this.createTime == null ? null : DateUtils.formatTime(this.createTime, DateUtils.FULL_TIME);
    }
}
